/*
 * @Author: your name
 * @Date: 2022-04-27 15:04:40
 * @LastEditTime: 2022-07-26 23:58:16
 * @LastEditors: YNT 2501512800@qq.com
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \22-03-19 智慧社区\api\contradiction.js
 */
import wxRequest from '../utils/wx-request'

class SpecialModel extends wxRequest {
  // 新增矛调信息
  addContradiction(params) {
    return this.request({
      url: `/api/v1/contradiction`,
      method: 'PUT',
      params,
    })
  }

  // 矛调信息详情
  contradictionDetail(id) {
    return this.request({
      url: `/api/v1/contradiction?id=${id}`,
      method: 'GET',
    })
  }

  // 矛盾信息列表
  contradictionList() {
    return this.request({
      url: `/api/v1/contradiction/list`,
      method: 'GET',
    })
  }
}

export default new SpecialModel()
